I have a player that is playing a warlock. He wants to go Pact of the Tome and take the Book of Ancient Secrets eldritch invocation at level 3, but then replace it at a later with a different invocation. He keeps the book and at a later level takes the Ritual Caster feat.
Would the Ritual Caster feat permit him the ability to ritually cast the already transcribed rituals even if they are not of the chosen class from the feat?