Fictional Writters, What's Up with that!

There used to be a time where books were written by actual writers.  Yesterday, I discovered a book written by a fictional character from a TV show.

I am a fan of TV series called 'Castle'.  It is a cute crime series about a famous author 'Richard Edgar "Rick" Castle portrayed by Nathan Fillion and a NYPD detective 'Beckett'.  In the show Richard Castle is a mystery writer and he is about to start a new series of books about a fictional character 'Nikki Heat' which is based on the detective Beckett.  To conduct research for his new book series, Castle uses his friendship with the mayor and gets approval to tag along in Beckett's crime investigations.  Throughout the show there are references to 'Nikki Heat' books written by Rick Castle.

You can imagine my surprise when I saw books written by 'Richard Castle' and titles such as 'Heat Wave' and 'Naked Heat'.    These are the titles mentioned in TV series. 

Naked Heat (Nikki Heat)
  Heat Wave

 Obviously, these are promotions for the show and are not written by Nathan Fillion.  However, on the back of the book, there is a picture of Nathan Fillion as 'Richard Castle'  the author of the book.  On Amazon.com there is a Richard Castle biography page Richard-Castle Page as if he is a real person.  Even worse, these books are on the 'New York Times' best seller list.

I wouldn't mind any of this, if the actual writer of the book was given credit instead of a fictional character.  I think this is going too far, mixing reality and fantasy.   There are several names of mental disorders that cause a person to mix reality with fantasy.  I don't know about you, but I think advertising has just crossed the line.