Pilots are ultimately in charge but I doubt the pilots get involved during the boarding process unless needed. No one to this point has claimed it was an order by the pilots to have the passenger removed. We shall see.
I have not seen anything official that mentions the pilots being involved, just internet posts.