The argument that George Lucas always intended the Jedi to be selfless and emotionless people is not true. Hell, in the first draft of TPM (found here: http://starwarsuniverse2.tripod.com/id7.html) Obi-Wan ends up falling in love with Anakin’s mother!
And Han Solo was originally supposed to be a reptilian alien. Scripts change. However, the fact that the Jedi Code forbids romantic love in Attack of the Clones is not inconsistent with anything explicitly stated in the Original Trilogy. It may be inconsistent with how you imagined the Jedi, but that is a purely subjective objection.